#include "EventEntryBox.hpp"

#include <iostream>

void
Event::EntryBox::class_init(void *g_class, void *)
{
    g_return_if_fail(g_class != NULL);
    auto klass = static_cast<GtkWidgetClass *>(g_class);
    gtk_widget_class_set_css_name(klass, "entry-box");
}

Event::EntryBox::EntryBox()
    : Glib::ObjectBase("EventEntryBox"), Glib::ExtraClassInit(Event::EntryBox::class_init)
{
    std::cout << "Register Event::EntryBox in GType System.\n";
}

Event::EntryBox::EntryBox(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &refBuilder)
    : Glib::ObjectBase("EventEntryBox"), Glib::ExtraClassInit(Event::EntryBox::class_init)
    , Gtk::Box(cobject), m_refBuilder(refBuilder)
{
}
